package eu.robico.simulator.simulatorinterface.actionpanel.objects;

import eu.robico.simulator.simulatorinterface.actionpanel.ActionPanel;
import eu.robico.simulator.simulatorinterface.actionpanel.Position;

public class ActionPanelObjectFactory 
{
	private ActionPanelObjectFactory() { }
	
	public static ActionPanelObject createColorLane(Position startPosition, Position endPosition)
	{
		return new ColorLaneObject(startPosition, endPosition);
	}
	
	public static ActionPanelObject createCrossRoads(Position position)
	{
		return new CrossRoadsObject(position);
	}
	
	public static ActionPanelObject createObstacle(Position position)
	{
		return new ObstacleObject(position);
	}
	
	public static UpdateableActionPanelObject createRobot(ActionPanel actionPanel, Position position, double rotation)
	{
		return new Robot(actionPanel, position, rotation);
	}
}
